//1.引入vue
import Vue from 'vue'

//2.引入过滤器函数
import {toP} from './price.js'
import {toT} from './phone.js'

//3.组装格式方便过滤器全局注册
let filters ={
    toP,
    toT
}

//4.变量对象全局注册
for(let key in filters){
    Vue.filter(key,filters[key])
}
